package com.virtium.vpc.dao;

import java.util.List;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.hibernate.LockMode;
import org.hibernate.Query;
import org.hibernate.criterion.Example;

import com.virtium.vpc.hibernate.model.VpcFormfactor;

/**
 * A data access object (DAO) providing persistence and search support for
 * VpcFormfactor entities. Transaction control of the save(), update() and
 * delete() operations can directly support Spring container-managed
 * transactions or they can be augmented to handle user-managed Spring
 * transactions. Each of these methods provides additional information for how
 * to configure it for the desired type of transaction control.
 * 
 * @see aa.VpcFormfactor
 * @author NguyenTuanAnh
 */

public interface VpcFormfactorDAO extends GenericDAO {
	public void save(VpcFormfactor transientInstance);

	public void delete(VpcFormfactor persistentInstance);

	public VpcFormfactor findById(java.lang.Integer id);

	public List findByExample(VpcFormfactor instance);

	public List findByProperty(String propertyName, Object value);

	public List findByChar_(Object char_);

	public List findByText(Object text);

	public List findAll();

	public VpcFormfactor merge(VpcFormfactor detachedInstance);

	public void attachDirty(VpcFormfactor instance);

	public void attachClean(VpcFormfactor instance);
}